package com.geek.log4jcontrol.core;

import java.util.List;

import com.geek.log4jcontrol.commons.FinalConstants;

/**
 * @package com.geek.log4jcontrol.core
 * @description Log4jControl本身的操作记录处理
 * @author Goliath
 * @createTime 2012-8-3 上午10:00:40
 * @modifyTime
 */
public class OperateRecordControler {

	private OperateRecordControler() {
	}
	
	private static OperateRecordControler operateRecordControler = new OperateRecordControler();

	public static OperateRecordControler getInstance() {
		return operateRecordControler;
	}

	/**
	 * @package com.geek.log4jcontrol.core
	 * @description 添加Log4jControl本身的操作记录
	 * @return 添加是否成功
	 * @returnType int
	 * @author Goliath
	 * @createTime 2012-8-3 上午10:36:37
	 * @modifyTime
	 */
	public int addOperateRecord() {
		return FinalConstants.SUCCESS;
	}

	/**
	 * @package com.geek.log4jcontrol.core
	 * @description 获取Log4jControl本身的操作记录列表
	 * @return Log4jControl本身的操作记录列表
	 * @returnType List<OperateRecord>
	 * @author Goliath
	 * @createTime 2012-8-3 上午10:37:09
	 * @modifyTime
	 */
	public List<OperateRecord> getOperateRecordList() {
		return null;
	}

	/**
	 * @package com.geek.log4jcontrol.core
	 * @description 清空Log4jControl本身的操作记录
	 * @return 清空动作是否成功
	 * @returnType int
	 * @author Goliath
	 * @createTime 2012-8-3 上午10:37:30
	 * @modifyTime
	 */
	public int cleanOperateRecord() {
		return FinalConstants.SUCCESS;
	}
}
